package com.yingside.jdbc.crm;

public class Employee {
    private int id;
    private String empName;
    private String empTel;
    private String empSex;
    private Dept dept;

    @Override
    public String toString() {
        return "Employee{" +
                "id=" + id +
                ", empName='" + empName + '\'' +
                ", empTel='" + empTel + '\'' +
                ", empSex='" + empSex + '\'' +
                ", dept=" + dept +
                '}';
    }

    public Employee() {
    }

    public Employee(int id, String empName, String empTel, String empSex, Dept dept) {
        this.id = id;
        this.empName = empName;
        this.empTel = empTel;
        this.empSex = empSex;
        this.dept = dept;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public String getEmpTel() {
        return empTel;
    }

    public void setEmpTel(String empTel) {
        this.empTel = empTel;
    }

    public String getEmpSex() {
        return empSex;
    }

    public void setEmpSex(String empSex) {
        this.empSex = empSex;
    }

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }
}
